const getters = {
  token: state => state.user.token,
  nickname: state => state.user.userInfo.nickname,
  description: state => state.user.userInfo.description,
  avatar: state => state.user.userInfo.avatar,
  userId: state => state.user.userInfo.id
}
export default getters
